.overlay {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--bg-overlay);
	padding: 10px;
}

.modal {
	background: var(--bg-surface);
	padding: 40px;
	width: 100%;
	max-width: 550px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.modal h2 {
	margin: 0;
}

.modal p {
	line-height: var(--line-height-copy);
	font-size: 0.9em;
	margin: 0;
}


.stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 100%;
	
}


.info {
	display: flex;
	flex-direction: column;
	align-items: left;
	gap: 14px;
	width: 100%;
	text-align: left;
	font-size: 1.2em;
	color: var(--fg-switch-low);

}

.close {
	align-self: flex-end;
	background: none;
	border: none;
	font-size: 1.8em;
	height: 1em;
	width: 1em;
	color: var(--fg-switch-low);
	padding: 0;
	display: block;
	line-height: 1;
	cursor: pointer;
	margin-top: -30px;
	margin-right: -30px;


}

.close-button{
	align-self: flex-end;
	background: none;
	border: none;
	font-size: 1.8em;
	height: 1em;
	width: 1em;
	color: var(--fg-switch-low);
	padding: 0;
	display: block;
	line-height: 1;
	cursor: var(--cursor-interactive);
}

p.muted {
	color: var(--bg-overlay);
	font-size: 0.8rem;
	
}

.inputRow {
	display: flex;
	flex-direction: row;
	gap: 6px;
	width: 100%;
}

.inputRow :global(input) {
	flex: 1;
}

.inputRow.limited {
	max-width: 300px;
}

.center {
	text-align: center;
}

.error {
	color: var(--error);
}

.warning {
	background: #fff9db;
	color: #9f6220;
	padding: 10px;
	line-height: var(--line-height-copy);
	font-size: 0.9rem;
}

.warning a {
	color: #000000;
	text-decoration: underline;
}
